package com.cake.dao;

import java.util.List;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxProductProductImage;

public interface XxProductProductProductImageMapper extends IBaseDao<XxProductProductImage> {
	
    int insert(XxProductProductImage record);

    int insertSelective(XxProductProductImage record);

    /**
     * 通过商品id查询出商品图片列表信息
     * @param productId
     * @return
     */
    List<XxProductProductImage> selectProductImagesByProductId(Long productId);
    
    /**
     * 通过商品id删除商品图片信息
     * @param productId
     * @return
     */
    Integer deleteProductImagesByProductId(Long productId);
}